Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a way for some follower to not make some mfleader area run #2852

Open
wants to merge 48 commits into
base: master
Choose a base branch
from

Conversation

cezars
Copy link

@cezars cezars commented Dec 10, 2020

Adding a way for some follower (flollower x and y) not to follow mf leader on andariel or pit or musoleum

kolton and others added 30 commits February 1, 2014 20:05
- Fixed scriptengine related crashes
D2BotChannel.dbj - added timer back
D2BotFollow.dbj - added timer back, added crafting system handler
D2BotLead.dbj - added timer back, added crafting system handler, added datafile based crash reporter
D2BotMuleLog.dbj - get next character upon restart
default.dbj - added crafting system handler, changed how game leave works
D2BotMule.dbj - don't mule crafting system ingredients
D2BotMuleLog.dbj - added item type at the beginning of saved image file names, account/character will be logged in character viewer even if they're not saved in images
NTItemParser.dbl - changed tier to its own function, now scans all lines
OOG.js - added some missing D2Bot# related functions
TorchSystem.js - key hunters will now drop gold
Andariel.js/Duriel.js/AntiHostile.js - updated with new attack function format
FastDiablo.js - additional checks to reduce failure to open seals
Attack.js - added custom attack handler, added Attack.hurt(), updated clear/clearList with new attack format, checkResist can now take skill id as second argument
Attacks/Amazon.js/Attacks/Assassin.js/Attacks/Barbarian.js/Attacks/Druid.js/Attacks/Necromancer.js/Attacks/Paladin.js/Attacks/Sorceress.js/Attacks/Wereform.js - rewrote attack sequences for easier on-the-fly skill change
Config.js - added more detailed config error info
Cubing.js - skip ladder recipes on non-ladder
Misc.js - added Skill.getRange/getHand, added Item class for item manipulation, added Messaging class for communication between scripts/profiles
Pather.js - fixed a bug with node action that could prevent moving to destination, added function descriptions, added a delay before using a waypoint to prevent a certain type of d2 crash, fixed a couple of bugs spotted by qqvaled and jeanmax
Pickit.js - fixed skipping items after going back from town (this was due to item gid change), added item sorting to fast pickit, it will prioritize runes and unique items
Prototypes.js - unit.dead prototype now works with monster units too
Runewords.js - don't make ladder runewords on non-ladder
Town.js - modified town move for better desync handling
HeartBeat.js - removed script check, added the ability to pause starters when out of game
MapHelper.js - pause MapThread when in escape menu to avoid Game Not Ready warnings on manual exit
MapThread.js - added some side areas to auto teleport which are relevant for rushing
ToolsThread.js - changed 'print nearest preset unit' hotkey to numpad 9, added datafile based debug info storing
TownChicken.js - fixed a bug spotted by jeanmax

Added Config.CustomAttack option to character configs. This allows different skills to be used for specific monsters.

follower.nip - added experimental [tier] based lines for automatic item equip (classic d2 items only). Add Config.AutoEquip = true; to char config if you wish to test.

Added CraftingSystem.js, a multi profile based crafting/rerolling system. It's still experimental but the provided recipes should work.

NOTE: There will be no support for experimental features. If you can't get them to work, ignore them.
Attack.js - check if unit is invalid for custom attacks, fixed Attack.hurt, Attack.clear can now take a monster's gid as bossId argument, small fix for walking attacks
Attacks/Paladin.js - replaced an obsolete variable
Misc.js - attempt to shut up getManaCost warnings, autoequip can keep unid items that fully match lines with tier keyword, cancel npc menu before equipping items to prevent conflicts with packet shopping, added equipped item logging
Pather.js - call Attack.clear() only once on move retry instead of on all future nodes, removed empty path error throwing, enhanced walkTo precision on retries
Town.js - can buy potions into inventory buffer now, stop trying to buy tp scrolls if there's no tp tome, force identify kept autoequip items, don't stash kept unid autoequip items, removed lowgold trigger if there are no actual items to sell
clearInventory will now sell or throw away unid items that are no longer valid for autoequip
pather now allows node action on last node
added delay for equipped item logging as suggested by JeanMax
me.ladder returns numerical flag value now. 0 = non-ladder, 1 or 16 = ladder
NTItemParser.dbl - made [tier] and [maxquantity] compatible in the same line, added a warning when = is used instead of ==
OOG.js - added support for Hihest difficulty
Mephisto.js - prevent moving closer while attacking when using moat trick
Rusher.js - added a delay when reloading rush thread to make commands work again
Wakka.js - changed walk precision to range 2 instead of 4
Attack.js - getMob can take a center object as argument to allow getting monsters within the range of any arbitrary spot
Attacks/Sorceress.js - static list is no longer case sensitive
Misc.js - don't try to use shrines or chests that are behind walls when walking, tweaked autoequip a bit
Pather.js - added forced teleport retries when being hit, changed useUnit back to using packets for greater reliability, especially in Duriel script
Pickit.js - don't try to pick items behind walls when walking, removed moveTo retries when trying to walk to an item, disable telekinesis after first attempt to pick an item, added quest items to canEquip function to prevent trying to pick up more than one.
Town.js - prevent 'no room for item' message in NPC window in some cases when inventory is full, enabled mini shopbot with packet shopping, changed stash code to ignore some quest items that should not be stashed
ToolsThread.js - added a missing include, drink highest potions first, removed a recursive check for giving potions to mercenary, F12 now shows preset units on map (shrines etc.), added the support for Config.QuitList = "any"; to quit when any player leaves
NTItemParser.dbl - added more detailed pickit error reporting
Duriel.js - added area clear before going into Duriel's lair
Questing.js - added a notification that the profile is being stopped when the script is done
Attack.js - added static attack skill handler in checkResist - monsters with life lower than Config.CastStatic percent are considered immune to static
Attacks/Sorceress.js - added support for monster classids in Config.StaticList
Misc.js - can autoequip items from stash
Prototypes.js - added dead mode to me.idle, added me.gold
tools/ToolsThread.js - added quit on soj sales and quit on dclone

updated character configs with dclone quit options
D2BotMule.dbj - added a missing include
Enchant.js - make sure the bot stays in act 1 after town chores
Cubing.js - removed an unneeded delay when trying to open cube when it's already open, emptyCube can move items to stash if there's no room in inventory
Misc.js - added Packet.itemToCursor(item) and Packet.dropItem(item)
Prototypes.js - error handling for item.toCursor()
Storage.js - increased timeout delay when moving items
Town.js - prevent unnecessary npc visits, added error handling for moveToSpot
…f there's 2 or more bad games; added more login error/banned key handling

D2BotFollow.dbj - improved crash report; fixed a bug that stopped joining games when leader resets game count too often; added more login error/banned key handling
D2BotLead.dbj - added anni/torch handling; added more login error/banned key handling
D2BotMule.dbj - updated with anni muling; faster muling procedure; added cdkey swapping; more detailed error messages; added more login error/banned key handling
D2BotMuleLog.dbj - added more login error/banned key handling
default.dbj - added support for D2Bot right click profile/Mule option; added anni mule handler
AutoMule.js - added anni muling to torchmule options, it's used when MF bots kill Diablo Clone using Config.KillDclone option; fixed a bug that could cause mules to use the wrong .json file and reset accounts
MuleLogger.js - don't hide ilvl and account info in text files so it can be searched in Character Viewer, they can still be hidden from images saved by MuleLogger
NTItemAlias.dbl - added [poisondamage] for exact posion damage as shown in game and [plusskillcriticalstrike] aliases
NTItemParser.dbl - added pickit line info for unidentified items
OOG.js - break makeCharacter loop when Create Character button is greyed out
bots/BaalHelper.js - more detailed error messages, added Config.Leader handling
bots/Diablo.js - added random wp precast handling
bots/DiabloHelper.js - made skip on baal party optional, added random wp handling, added skip tp option
bots/Duriel.js - added telekinesis on chamber entrance
bots/Enchant.js - added flood control, timeleft command, chant in other acts; fixed a bug where the chanter could be lured out of town with wirt's leg
bots/KillDclone.js - updated with new anni mule handling
bots/Questing.js - improved quest checking and error reporting
bots/Rushee.js - unbug cursor using cube (pick and place), better quest monster handling, restart at the end of current difficulty
bots/ShopBot.js - automatically load shopbot.nip and ignore other pickits, can use multiple npcs when shopping, added more npc support, ScanIDs array can now take item names and can be left empty to scan all
Attack.js - added random move for hammerdins if they keep missing the target; use player's position when calling openChests
Attacks/Paladin.js - fixed a bug when dealing with immune monsters
Cubing.js - added low to normal quality recipe; fixed soj reroll bug where it would see rare rings as sojs
Misc.js - autoequip fixes and tweaks; added Misc.getPlayerCount function; disabled town check when low on gold; better checks for Packet.itemToCursor
Pather.js - added more menus to cancel when moving; added maxrange to teleportTo to be able to tweak teleport precision; useWaypoint code tweaks
Pickit.js - added pickit line info for unidentified items - this is the first matched line since multiple lines can match items that have yet to be identified
Prototypes.js - posion damage calculation in getStatEx; added a check for item already in cursor in item.toCursor
Storage.js - fixed moving items to trade screen
Town.js - automatically finish golden bird or lam essen quest if the right items are picked; fixed some needless npc visits; autoequip tweaks; fixed packet shopping + qiver replace; cast BO on revived merc using random waypoint (if Config.MercWatch is true); don't try to sell quest items (causes d/c); added wpmenu argument to Town.goToTown (true - open menu, false - direct interact)
CloneKilla.js - no longer disables town check
RushThread.js - improved travincal and mephisto
ToolsThread.js - don't reference script names (fixes a crash); improved iron golem code; added posion jav/nova packet blocking
TownChicken.js - various shitfuckery with thread pausing fixed

updated character configs with new options
updated lld pickit
updated shopbot pickit
added a missing shopbot config option, updated shopbot.txt in templates
skiptp option respects entrance config, it will wait for the leader either at star or entrance now
don't count yourself when searching for characters in chaos
rusher/rushee - added quests and LastRun option to end the rush after any part of the sequence
Town.js - don't try to buy potions/scrolls when out of gold; made all classes use waypoint from a distance
D2BotFollow.dbj - fixed previous game rejoining; added lobby delay to not join games too fast after first login; don't try to rejoin full games; added join fail notification
Cubing.js - don't call getCube during town check
Pather.js - small walkTo improvement

added SealLeader and SealLeecher scripts
updated character configs with new options
don't get stuck if izual quest fails
Config.WaypointMenu allows you to choose between a direct interaction
with waypoints (suitable for Battle.net) and a force use of a waypoint
menu (suitable for Single and private realms).
kolton and others added 18 commits November 29, 2014 18:22
tools/ToolsThread.js - added missing include, added an option for script developers to suspend quitlist using scriptBroadcast("toggleQuitlist")
fix missed ; in Tristram.js
D2BotChannel.dbj/D2BotFollow.dbj/D2BotLead.dbj/D2BotMuleLog.dbj/D2BotPubJoin.dbj - added disabled lod key report and handling, moved firstLoging multirealm handler to a better position
D2BotMule.dbj - fixed double logging and endless loop when switching mule character
D2BotPubJoin.dbj - fixed a bug with empty filters
default.dbj - forced corpse search when death is detected
AutoMule.js - added a missing option to mule items that are no longer in pickit, don't log items when picking them up after a mule fails to join
NTItemParser.dbl - items in locked inventory slots now also count towards [maxquantity]
Rushee.js - fixed an endless loop, added the ability to manually assign quester via chat command "charname quest"
Attacks/Paladin.js - added collision checks to avoid attacking monsters behind walls
Attacks/Sorceress.js - fixed an endless loop with static when dead
Misc.js - improved Messaging.sendToProfile, added the ability to turn item logging on/off via Misc.useItemLog
Pather.js - removed a delay after using waypoints, more detailed error info
Pickit.js - removed quest items from LowGold
Runewords.js - added error handling and reporting for bad Config.KeepRuneword lines
Town.js - added missing ids to checkScrolls functions - this should fix 'tome.getStat is not a function' errors
AutoBuildThread.js - suspend quitlist while adding skills/stats
tools/AutoBuildThread.js - added missing includes and hopefully fixed numpad 5 muling for good
updated d2bot# - http://www.blizzhackers.cc/viewtopic.php?f=204&t=498707
updated d2bs - http://www.blizzhackers.cc/viewtopic.php?f=204&t=495817&start=330

fixed muling triggers in D2BotChannel.dbj, D2BotFollow.dbj, D2BotPubJoin.dbj
OOG.js - added D2Bot.uploadItem (same functionality as right click/upload to imgur in item viewer), updated d2bot.stop
Diablo.js - added preattack from a distance for seal bosses with hammerdins, added stray monster handling
Attacks/Barbarian.js - added repair check after attacking
Attacks/Paladin.js - use secondary skill if hammer position is blocked
Misc.js - improved Packet.telewalk
Precast.js - higher enchant slot by dzik
Town.js - fixed potion handling from inventory, added certain quest items to no-drop list
RushThread.js - send rushee back to town if sequence fails
tools/RushThread.js - added numpad 6 hotkey for Mule Logger
added the missing bot script Crafting.js, it was meant to be there when CraftingSystem was added.
removed D2BotChannelMaster.dbj, it's old, incomplete and its author has been gona for a long time
D2BotFollow.dbj - removed lobby delay
Diablo.js - added BossPriority to custom sort function
DiabloHelper.js - added BossPriority to custom sort function, added stray monster handling
Attacks/Paladin.js - removed excessive print
Misc.js - reduced whirlwind range, increased holy bolt range, added normal attack to wereform supported skills
AntiHostile.js - removed flashing because it got fixed by Blizzard
deleted FlashThread.js
Attack.js - added collision checks to short range attacks, reduced minimum range to let the normal code handle war/battle cry, added special short range walk code for whirlwind
Attacks/Barbarian.js - whirlwind optimization
Misc.js - reduced whirlwind max range
D2BotChannel.dbj - fixed error reporting, don't try to rejoin games with too high level restriction
D2BotMule.dbj - warning+stop profile if rd blocker is on, release cd-key when finished
D2BotMuleLog.dbj - fixed error reporting, warning+stop profile if rd blocker is on
default.dbj - added automap handling based on Config.AutoMap
MuleLogger.js - added item sorting based on item type, character viewer lists should be more organized now
OOG.js - reduced timeoutDelay spam to d2bot#, made setText change text only if it's different from current text
TorchSystem.js - added LogOrgans by Gagget
MFHelper.js - improved portal handling and retries
OrgTorch.js - status prints to d2bot# by Gagget
Rushee.js - added harem tp handling
Barbarian.js - fixed low mana skill warning
Necromancer.js - corpse explosion improvement by Kam1kaz3
Sorceress.js - don't try to telestomp inaccessible monsters (ie. storm casters on lava etc.)
Config.js - added default values for new config options: AutoMap, DroppedItemsAnnounce (by Kam1kaz3), UnpartyShitlisted, QuitListMode and Charge
Misc.js - added Misc.getNearbyPlayerCount() func that can be used to count players in the same area within getUnit range, added stack info to script error reporting, improved Packet.teleWalk
Pather.js - made Charge configurable, rewrote makePortal, usePortal won't try to take portals if the character is already in target area
Pickit.js - organ log handler by Gagget
Prototypes.js - fixed unit.attacking, added stat parsing from description for equipped items in getStatEx
Town.js - announce items dropped by FieldID by Kam1kaz3, gambling can take item names now, Town.move will go to town automatically if not already in town
AntiHostile.js - actively scan for hostiles instead of triggering from event
Party.js - added the ability to unparty if partied with a shitlisted character
RushThread.js - added harem tp, wait for players to enter act 4 after killing Mephisto, delay before telling rushees to leave in order to prevent quest fails.
ToolsThread.js - added the ability to quit based on profile names (this reads character names from data folder), fixed a potential error in checkVipers function

updated character configs with new options and updated recipes with item names for easier readability
Updated d2bs with rev 1849
D2Bot# - gracefully close d2 window

Enchant.js - abort cows function if Akara is too far from her normal spot or if she's been led out of town
Rusher.js - fixed pause/resume commands
Prototypes.js - don't throw errors in unit.dead
Town.js - ignore NPCs that have been led out of town
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants